$stat =
wave.merge ("<Wavefile1>","<Wavefile2>","<Destination Filename>")
Merges two waves and stores it in the specified destination.
Parameters
<Wavefile1>
Specify the name of first wave file.
<Wavefile2>
Specify the name of second wave file.
<Destination Filename>
Specify the name of the merged wave file.
Return Value
Returns 1 on successful merging, otherwise 0 on failure.
Remark
Only two files can be merged.
Example
-
$stat = wave.merge ("engsre13.wav", "engsre14.wav", "dest.wav")
msgbox($stat)
- engsre13.wav and engsre14.wav is merged into dest.wav and $stat returns 1.
-
$stat = wave.merge ("engsre13.wav", "engsre14.wav", "D:\myfolder\dest.wav")
msgbox($stat)
- engsre13.wav and engsre14.wav is merged and saved to the destination file present in D:\myfolder\dest.wav.